<?php

namespace App\Http\Controllers\WeChat;

use App\Http\Controllers\Controller;
use App\Models\WeChatKeyWord;
use App\Services\WeChatService;
use Illuminate\Http\Request;

class KeywordController extends Controller
{
    public function check(Request $request, WeChatService $weChatService)
    {

        $has = $weChatService->checkKeywordIsExists($request->keyword);

        return ['has' => $has];
    }
}
